package com.imay.live.model;

/**
 * Created by  nick on 2017/5/15 0015.
 * 未读红点
 */

public class UnreadModel {
    private int WarnType;
    private int Value;
    private String data;

    public int getWarnType() {
        return WarnType;
    }

    public void setWarnType(int warnType) {
        this.WarnType = warnType;
    }

    public int getValue() {
        return Value;
    }

    public void setValue(int value) {
        this.Value = value;
    }

    public boolean haveUnread() {
        return Value > 0;
    }


    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
